FROM registry-cn-hangzhou.ack.aliyuncs.com/dev/alpine:3.18-update@sha256:f2f97bbc6f3173044292cbf8d306ca31b4356a5f2eb54701fc97f64065b412cf
WORKDIR /app

# COPY the newly compiled binary
COPY server-test /app/server-test

# Print the current directory's contents for verification
RUN ls -al /app

# Set the CMD for running the binary
CMD ["sh", "-c", "./server-test"]